﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <LinearGradientBrush x:Key="ButtonBackgroundBrush">
        <GradientStop Color="AliceBlue" Offset="0"/>
        <GradientStop Color="Bisque" Offset=".5"/>
        <GradientStop Color="BlanchedAlmond" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush Color="CadetBlue" x:Key="ButtonForeGroundBrush"/>
    <SolidColorBrush Color="PaleGoldenrod" x:Key="ButtonBorderBrush"/>
    <Style TargetType="Button">
        <Setter Property="Background" Value="{StaticResource ButtonBackgroundBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource ButtonForeGroundBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource ButtonBorderBrush}"/>
        <Style.Triggers>
            <MultiTrigger>
                <MultiTrigger.Conditions>
                    <Condition Property="Button.IsMouseOver" Value="True"/>
                </MultiTrigger.Conditions>
                <MultiTrigger.Setters>
                    <Setter Property="Background" Value="Black"/>
                </MultiTrigger.Setters>
            </MultiTrigger>
            <EventTrigger RoutedEvent="Button.Click">
                <!--<SoundPlayerAction Source="C:\Users\omer.demir\Music\Atılacaklar\02 - Midnight City.mp3"/>-->
                <EventTrigger.Actions>
                    <BeginStoryboard>
                        <Storyboard>
                            <DoubleAnimation Duration="0:0:5" Storyboard.TargetProperty="Height" To="200" />
                        </Storyboard>
                    </BeginStoryboard>
                </EventTrigger.Actions>
            </EventTrigger>
        </Style.Triggers>
    </Style>
</ResourceDictionary>